home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmeGetPixmapData.z
/
XmeGetPixmapData
Wrap
Text File
|
1998-10-30
|
6KB
|
133 lines
XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa - Returns details about a cached pixmap
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/XmP.h>
BBBBoooooooolllleeeeaaaannnn XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa(
SSSSccccrrrreeeeeeeennnn ****ssssccccrrrreeeeeeeennnn,
PPPPiiiixxxxmmmmaaaapppp ppppiiiixxxxmmmmaaaapppp,
cccchhhhaaaarrrr ********iiiimmmmaaaaggggeeee____nnnnaaaammmmeeee,
iiiinnnntttt ****ddddeeeepppptttthhhh,
PPPPiiiixxxxeeeellll ****ffffoooorrrreeeeggggrrrroooouuuunnnndddd,
PPPPiiiixxxxeeeellll ****bbbbaaaacccckkkkggggrrrroooouuuunnnndddd,
iiiinnnntttt ****hhhhooootttt____xxxx,
iiiinnnntttt ****hhhhooootttt____yyyy,
uuuunnnnssssiiiiggggnnnneeeedddd iiiinnnntttt ****wwwwiiiiddddtttthhhh,
uuuunnnnssssiiiiggggnnnneeeedddd iiiinnnntttt ****hhhheeeeiiiigggghhhhtttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Motif maintains a pixmap cache. This cache holds information
on the pixmaps currently in use. Use XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa to
determine if a specified _p_i_x_m_a_p is currently in the pixmap
cache. If it is, XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa returns the value True and
returns information for all eight of its output arguments.
If _p_i_x_m_a_p is not in the pixmap cache,
XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaafetches _p_i_x_m_a_p from the server, caches
_p_i_x_m_a_p, and then returns False. When XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa
returns False, only _d_e_p_t_h, _w_i_d_t_h, and _h_e_i_g_h_t are valid.
XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa is relatively efficient because it gets the
data through a table lookup rather than through a server
request.
_s_c_r_e_e_n Specifies a pointer to the screen.
_p_i_x_m_a_p Specifies the desired pixmap.
_i_m_a_g_e__n_a_m_e
Returns the image name associated with _p_i_x_m_a_p.
The caller must not modify or free the returned
data.
_d_e_p_t_h Returns the depth of the _p_i_x_m_a_p.
_f_o_r_e_g_r_o_u_n_d
Returns the foreground color associated with
_p_i_x_m_a_p.
Page 1 (printed 10/24/98)
XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmeeeeGGGGeeeettttPPPPiiiixxxxmmmmaaaappppDDDDaaaattttaaaa((((3333XXXX))))
_b_a_c_k_g_r_o_u_n_d
Returns the background color associated with
_p_i_x_m_a_p.
_h_o_t__x Returns the x-coordinate of the hotspot of
_p_i_x_m_a_pif hotspot information was stored with the
_p_i_x_m_a_p.
_h_o_t__y Returns the y-coordinate of the hotspot of
_p_i_x_m_a_pif hotspot information was stored with the
_p_i_x_m_a_p.
_w_i_d_t_h Returns the width of _p_i_x_m_a_p.
_h_e_i_g_h_t Returns the height of _p_i_x_m_a_p.
RRRREEEETTTTUUUURRRRNNNN
Returns True if _p_i_x_m_a_p is in the image cache. Otherwise, it
returns False.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmGGGGeeeettttPPPPiiiixxxxmmmmaaaapppp(3).
Page 2 (printed 10/24/98)